home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xmmix-1.1 / resource.h < prev    next >
C/C++ Source or Header  |  1995-07-05  |  4KB  |  117 lines

  1. /*
  2.  *   xmmix - Motif(tm) Audio Mixer
  3.  *
  4.  *   Copyright (C) 1995  Ti Kan
  5.  *   E-mail: ti@amb.org
  6.  *
  7.  *   This program is free software; you can redistribute it and/or modify
  8.  *   it under the terms of the GNU General Public License as published by
  9.  *   the Free Software Foundation; either version 2 of the License, or
  10.  *   (at your option) any later version.
  11.  *
  12.  *   This program is distributed in the hope that it will be useful,
  13.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  *   GNU General Public License for more details.
  16.  *
  17.  *   You should have received a copy of the GNU General Public License
  18.  *   along with this program; if not, write to the Free Software
  19.  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  *
  21.  */
  22. #ifndef __RESOURCE_H__
  23. #define __RESOURCE_H__
  24.  
  25. #ifndef LINT
  26. static char *_resource_h_ident_ = "@(#)resource.h    2.3 95/05/12";
  27. #endif
  28.  
  29. #define XmcdNdevice            "device"
  30. #define XmcdCDevice            "Device"
  31. #define XmcdNdemoMode            "demoMode"
  32. #define XmcdCDemoMode            "DemoMode"
  33. #define XmcdNdebugMode            "debugMode"
  34. #define XmcdCDebugMode            "DebugMode"
  35. #define XmcdNhelpPath            "helpPath"
  36. #define XmcdCHelpPath            "HelpPath"
  37. #define XmcdNautoLoadOnStartUp        "autoLoadOnStartUp"
  38. #define XmcdCAutoLoadOnStartUp        "AutoLoadOnStartUp"
  39. #define XmcdNresetOnExit        "resetOnExit"
  40. #define XmcdCResetOnExit        "ResetOnExit"
  41.  
  42.  
  43. STATIC XtResource    resources[] = {
  44.     {
  45.         XmcdNdevice, XmcdCDevice,
  46.         XmRString, sizeof(String),
  47.         XtOffsetOf(appdata_t, device), XmRImmediate,
  48.         (XtPointer) "/dev/mixer",
  49.     },
  50.     {
  51.         XmcdNdemoMode, XmcdCDemoMode,
  52.         XmRBoolean, sizeof(Boolean),
  53.         XtOffsetOf(appdata_t, demo), XmRImmediate,
  54.         (XtPointer) False,
  55.     },
  56.     {
  57.         XmcdNdebugMode, XmcdCDebugMode,
  58.         XmRBoolean, sizeof(Boolean),
  59.         XtOffsetOf(appdata_t, debug), XmRImmediate,
  60.         (XtPointer) False,
  61.     },
  62.     {
  63.         XmcdNhelpPath, XmcdCHelpPath,
  64.         XmRString, sizeof(String),
  65.         XtOffsetOf(appdata_t, helppath), XmRImmediate,
  66.         (XtPointer) "/usr/lib/X11/xmmix.hlp",
  67.     },
  68.     {
  69.         XmcdNautoLoadOnStartUp, XmcdCAutoLoadOnStartUp,
  70.         XmRString, sizeof(String),
  71.         XtOffsetOf(appdata_t, autoload), XmRImmediate,
  72.         (XtPointer) "",
  73.     },
  74.     {
  75.         XmcdNresetOnExit, XmcdCResetOnExit,
  76.         XmRBoolean, sizeof(Boolean),
  77.         XtOffsetOf(appdata_t, exitreset), XmRImmediate,
  78.         (XtPointer) False,
  79.     },
  80. };
  81.  
  82.  
  83. STATIC XrmOptionDescRec    options[] = {
  84.     { "-dev",    "*device",    XrmoptionSepArg,    NULL   },
  85.     { "-demo",    "*demoMode",    XrmoptionNoArg,        "True" },
  86.     { "-debug",    "*debugMode",    XrmoptionNoArg,        "True" },
  87.     { "-autoload",    "*autoLoadOnStartUp", XrmoptionSepArg,    NULL   },
  88.     { "-exitreset",    "*resetOnExit",    XrmoptionNoArg,        "True" },
  89. };
  90.  
  91.  
  92. STATIC String        fallbacks[] = {
  93.     "*menuBar*fontList: -*-helvetica-medium-r-*--12-120-*",
  94.     "*helpForm*fontList: -*-helvetica-medium-r-*--12-120-*",
  95.     "*fileSelectionBox*XmText*fontList: fixed",
  96.     "*fileSelectionBox*XmTextField*fontList: fixed",
  97.     "*fileSelectionBox*XmList*fontList: fixed",
  98.     "*fileSelectionBox*fontList: -*-helvetica-medium-r-*--12-120-*",
  99.     "*aboutDialog*fontList: -*-times-bold-i-*--24-240-*=chset1, -*-times-bold-i-*--12-120-*=chset2, -*-helvetica-medium-r-*--10-100-*=chset3, fixed",
  100.     "*fontList: -*-helvetica-medium-r-*--10-100-*",
  101.     "*XmToggleButton*highlightThickness: 1",
  102.     "*highlightThickness: 1",
  103.     "*defaultButtonShadowThickness: 0",
  104.     "*borderWidth: 0",
  105.     "*indicatorSize: 11",
  106.     "*recomputeSize: True",
  107.     "*defaultPosition: True",
  108.     "*labelType: STRING",
  109.     "*keyboardFocusPolicy: EXPLICIT",
  110.     "*foreground: Black",
  111.     "*background: White",
  112.     NULL,
  113. };
  114.  
  115. #endif    /* __RESOURCE_H__ */
  116.  
  117.